package com.tourlaid.mamagerment.service

import com.tourlaid.mamagerment.entity.User

/**
 * Created by xiaoyongge on 2017/7/21.
 */
interface UserService {

    fun getByAccount(account: String?): User?

    fun register(account: String?, password: String?, type: Int): Long

    fun getById(id: Long): User

    fun minusIntegral()

    fun plusIntegral(id: Long?, integral: Int)

    fun queryByIdList(idList: List<Long>): List<User>

    fun updateStoreId(id: Long, storeId: Long)

}